package team.cdlzz.model.pojo;

public class Question {
    private Integer qid;

    private String type;

    private String content;

    public Question() {
    }

    public Question(Integer qid, String type, String content, String a, String b, String c, String d, String ans, Integer level) {
        this.qid = qid;
        this.type = type;
        this.content = content;
        this.a = a;
        this.b = b;
        this.c = c;
        this.d = d;
        this.ans = ans;
        this.level = level;
    }

    private String a;

    private String b;

    private String c;

    private String d;

    private String ans;

    private Integer level;

    public Integer getQid() {
        return qid;
    }

    public void setQid(Integer qid) {
        this.qid = qid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getA() {
        return a;
    }

    public void setA(String a) {
        this.a = a;
    }

    public String getB() {
        return b;
    }

    public void setB(String b) {
        this.b = b;
    }

    public String getC() {
        return c;
    }

    public void setC(String c) {
        this.c = c;
    }

    public String getD() {
        return d;
    }

    public void setD(String d) {
        this.d = d;
    }

    public String getAns() {
        return ans;
    }

    @Override
    public String toString() {
        return "Question{" +
                "qid=" + qid +
                ", type='" + type + '\'' +
                ", content='" + content + '\'' +
                ", a='" + a + '\'' +
                ", b='" + b + '\'' +
                ", c='" + c + '\'' +
                ", d='" + d + '\'' +
                ", ans='" + ans + '\'' +
                ", level=" + level +
                '}';
    }

    public void setAns(String ans) {
        this.ans = ans;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
}